package com.hancai.service;

import com.github.pagehelper.PageInfo;
import com.hancai.model.TClient;
import com.hancai.query.ClientQuery;
import com.hancai.result.ClientExcel;

import java.util.List;

/**
 * @author 涵菜
 * @version 1.0
 */
public interface ClientService {

    PageInfo<TClient> getClientByPage(Integer current,String keyword);

    int saveClient(ClientQuery clientQuery);

    int updateClient(ClientQuery clientQuery);

    int delClientById(Integer id);


    void changeStatus(Integer id, Integer status);

    TClient getClientById(Integer id);

    List<TClient> getAllOnSaleProduct();


}
